package cn.wolfcode.service;

import cn.wolfcode.domain.Appointment;
import cn.wolfcode.qo.AppointmentQueryObject;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IAppointmentService {

    void insert(Appointment appointment) ;

    void delete(Long id) ;

    void update(Appointment appointment) ;

    Appointment selectById(Long id) ;

    List<Appointment> selectAll();

    PageInfo<Appointment> query(AppointmentQueryObject qo);

    void updateStatus(Long id, int status);

    Appointment get(Long id);
}
